package com.cam.iot.mapper;

import com.cam.iot.entity.IotLiveData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface IotDataMapper {

    List<String> listFactorCode();

    void insertHisDataMap(Map<String, Object> dataMap);

    void insertLiveDataList(@Param("dataList") List<IotLiveData> dataList);

    void removeLiveDataByDeviceId(@Param("deviceId") String deviceId);

}
